package com.driver.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆信息对象 tb_vehicle
 * 
 * @author ruoyi
 * @date 2023-06-28
 */
public class TbVehicle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private String vehicleId;

    /** 司机ID */
    @Excel(name = "司机ID")
    private String driverId;

    /** 车辆VIN */
    @Excel(name = "车辆VIN")
    private String vehicleVin;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String vehiclePlateNumber;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String vehicleType;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String vehicleColor;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vehicleRegisterTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vehicleExpireTime;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long vehicleStatus;

    /** 车辆图片 */
    @Excel(name = "车辆图片")
    private String vehicleImages;

    /** 车辆车龄 */
    @Excel(name = "车辆车龄")
    private Long vehicleAge;

    /** 车辆总里程 */
    @Excel(name = "车辆总里程")
    private Long vehicleMileage;

    public void setVehicleId(String vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public String getVehicleId() 
    {
        return vehicleId;
    }
    public void setDriverId(String driverId) 
    {
        this.driverId = driverId;
    }

    public String getDriverId() 
    {
        return driverId;
    }
    public void setVehicleVin(String vehicleVin) 
    {
        this.vehicleVin = vehicleVin;
    }

    public String getVehicleVin() 
    {
        return vehicleVin;
    }
    public void setVehiclePlateNumber(String vehiclePlateNumber) 
    {
        this.vehiclePlateNumber = vehiclePlateNumber;
    }

    public String getVehiclePlateNumber() 
    {
        return vehiclePlateNumber;
    }
    public void setVehicleType(String vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType() 
    {
        return vehicleType;
    }
    public void setVehicleColor(String vehicleColor) 
    {
        this.vehicleColor = vehicleColor;
    }

    public String getVehicleColor() 
    {
        return vehicleColor;
    }
    public void setVehicleRegisterTime(Date vehicleRegisterTime) 
    {
        this.vehicleRegisterTime = vehicleRegisterTime;
    }

    public Date getVehicleRegisterTime() 
    {
        return vehicleRegisterTime;
    }
    public void setVehicleExpireTime(Date vehicleExpireTime) 
    {
        this.vehicleExpireTime = vehicleExpireTime;
    }

    public Date getVehicleExpireTime() 
    {
        return vehicleExpireTime;
    }
    public void setVehicleStatus(Long vehicleStatus) 
    {
        this.vehicleStatus = vehicleStatus;
    }

    public Long getVehicleStatus() 
    {
        return vehicleStatus;
    }
    public void setVehicleImages(String vehicleImages) 
    {
        this.vehicleImages = vehicleImages;
    }

    public String getVehicleImages() 
    {
        return vehicleImages;
    }
    public void setVehicleAge(Long vehicleAge) 
    {
        this.vehicleAge = vehicleAge;
    }

    public Long getVehicleAge() 
    {
        return vehicleAge;
    }
    public void setVehicleMileage(Long vehicleMileage) 
    {
        this.vehicleMileage = vehicleMileage;
    }

    public Long getVehicleMileage() 
    {
        return vehicleMileage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vehicleId", getVehicleId())
            .append("driverId", getDriverId())
            .append("vehicleVin", getVehicleVin())
            .append("vehiclePlateNumber", getVehiclePlateNumber())
            .append("vehicleType", getVehicleType())
            .append("vehicleColor", getVehicleColor())
            .append("vehicleRegisterTime", getVehicleRegisterTime())
            .append("vehicleExpireTime", getVehicleExpireTime())
            .append("vehicleStatus", getVehicleStatus())
            .append("vehicleImages", getVehicleImages())
            .append("vehicleAge", getVehicleAge())
            .append("vehicleMileage", getVehicleMileage())
            .toString();
    }
}
